package com.usian.admin.controller.v1;


import com.usian.admin.service.AdNewsPersonScanService;
import com.usian.apis.wemedia.AdNewsPersonScanControllerApi;
import com.usian.model.admin.dtos.NewsAuthDto;
import com.usian.model.common.dtos.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/admin/apl/v1/news_auth")
public class AdNewsPersonScanController implements AdNewsPersonScanControllerApi {
    @Autowired
    private AdNewsPersonScanService adNewsPersonScanService;
    @PostMapping("/list")
    public ResponseResult findList(@RequestBody NewsAuthDto dto){
        return adNewsPersonScanService.findList(dto);
    }

}
